<template>
    <div>
      柱状图
      <button @click="golink()">点击去到子路由</button>
       <router-view></router-view>
    </div>
 </template>
 <script>
 export default {
    name: 'echartsZz',
    data() {
      return {
        
      }
    },
    methods: {
      golink(){
        const item = {
          menuid: 21,
          icon: 'el-icon-user-solid',
          menuname: '柱状图子',
          url: "/EchartsZz/EchartsZzs",
        }
        this.$store.commit('SetMenu',item)
        this.$router.push(item.url)
      }
    }
 };
 </script>
 <style lang='' scoped>
 </style>